#ifndef EXPLOSIVEBARREL_H
#define EXPLOSIVEBARREL_H

//#include "ouden\ODN_Destroyable.h"
#include <Ouden.h>

using ouden::Vector;
using ouden::Scalar;
using ouden::Angle;
using ouden::String;

class CExplosiveBarrel : public ouden::CModelEntity
{
	public:
		
		DECLARE_ENTITY_CLASS(CExplosiveBarrel);
		//static CBaseEntity* create(String sName){return new className(sName);}
		
		//CExplosiveBarrel(Vector pos, Angle orientation=0);
		CExplosiveBarrel(String sName) : ouden::CModelEntity(sName) 		{}
		virtual ~CExplosiveBarrel() 		{}
		
		virtual void update() 		{}
		
	protected:
		
		//virtual void onDestroy();
		virtual void onStartMove(Vector vDirection)
		{
			
			std::cout << "Explosive barrel wants to move in direction (" << vDirection[0] << ", " << vDirection[1] << ")" << std::endl;
			
		}
		
	private:
		
		//Propertie
		Scalar m_fForce;
		Scalar m_fFireDamage;
		
		//CExplosion m_pExplosion;
	
};

#endif // EXPLOSIVEBARREL_H
